<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<#import "spring.ftl" as spring/>
<#assign security=JspTaglibs["http://www.springframework.org/security/tags"] />

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html">
    <link href="<@spring.url relativeUrl="/theme/style.css"/>" rel="stylesheet" type="text/css">
    <title><@spring.message code="page.content.title.project"/></title>
</head>
<body>
<#include "logo.ftl">
    
<div id="page">
<div id="content">
    <div class="post">
        <h2 class="title"><@spring.message code="page.content.title.project"/></h2>
        <div class="entry">
            <p>
            <table>
                <tr>
                    <td align="right" valign="top"><b><@spring.message code="page.content.form.project.id"/>:</b></td>
                    <td>${project.id}</td>
                </tr>
                <tr>
                    <td align="right" valign="top"><b><@spring.message code="page.content.form.project.name"/>:</b></td>
                    <td>${project.name}<td>
                </tr>
                <tr>
                    <td align="right" valign="top"><b><@spring.message code="page.content.form.project.persons"/>:</b></td>
                    <td>
                        <#if project.persons??>
                            <#list project.persons as person>
                                <a href="person.htm?id=${person.id}">${person.name} ${person.surname}</a><br/>
                            </#list>
                        </#if>
                    </td>
                </tr>
            </table>
            </p>
        </div>
    </div>
</div>
        
<div id="sidebar">
    <h2><@spring.message code="page.sidebar.title"/></h2>
    <ul><li>
        <ul>
            <li><a href="enterProject.htm?action=new"><@spring.message code="page.sidebar.new.project"/></a></li>
            <li><a href="enterProject.htm?action=edit&id=${project.id}"><@spring.message code="page.sidebar.edit.project"/></a></li>
            <li><a href="deleteProject.htm?id=${project.id}"><@spring.message code="page.sidebar.delete.project"/></a></li>
        </ul>
    </li></ul>
</div>

<div style="clear: both;">&nbsp;</div>

</div>
    
<#include "footer.ftl">
</body>
</html>